package com.d3works.apps.sale.service;

import com.d3works.apps.base.db.Partner;
import com.d3works.apps.base.db.Product;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface PartnerSaleService {

  public List<Product> getProductBoughtByCustomer(Partner customer);

  public HashMap<String, BigDecimal> getTotalSaleQuantityAndPrice(
      Partner customer, Product product);

  public List<Map<String, Object>> averageByCustomer(
      String averageOn, String fromDate, String toDate);
}
